package com.pkufinalproject.cleverreminder.hibernate.entity;

import lombok.Data;
import org.hibernate.annotations.Proxy;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@Proxy(lazy = false)
public class Reminder implements Serializable {
    protected Integer id;
    protected String title;
    protected Timestamp createTime;
    protected User owner;
    protected Boolean enabled;

    public boolean remind() {
        /**
         * 向客户端发送提醒请求以触发客户端上的提醒操作
         */
        return true;
    }
}
